package com.yuyou.train.lesson.vo.req;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;


/**
 * @author 
 */
public class ReqResQuesUpdate {

	@ApiModelProperty(value = "题目 id", required = true)
	@NotBlank (message="id不能为空")
	private String id;

	@ApiModelProperty(value = "题型 01:单选题，02:多选题，03:填空", required = true)
	@NotBlank (message="questionType不能为空")
    private String questionType;

	@ApiModelProperty(value = "标签类型", required = true)
	@NotBlank (message="dataQuestionTag不能为空")
    private String dataQuestionTag;

	@ApiModelProperty(value = "是否启用：0：否，1：是", required = true)
	@NotBlank (message="isUse不能为空")
    private String isUse;

	@ApiModelProperty(value = "题干", required = true)
	@NotBlank (message="body不能为空")
    private String body;

	@ApiModelProperty(value = "答案配置, 选择题 {\"items\":[\"A\" ,\"B\" ,\"C\" ,\"D\"]} ,填空题 {\"inputCount\": 2 }", required = false)
	@NotBlank(message = "answerConfig 不能为空")
	private String answerConfig;

	@ApiModelProperty(value = "答案", required = false)
	@NotBlank(message = "answer 不能为空")
    private String answer;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getQuestionType() {
		return questionType;
	}

	public void setQuestionType(String questionType) {
		this.questionType = questionType;
	}

	public String getDataQuestionTag() {
		return dataQuestionTag;
	}

	public void setDataQuestionTag(String dataQuestionTag) {
		this.dataQuestionTag = dataQuestionTag;
	}

	public String getIsUse() {
		return isUse;
	}

	public void setIsUse(String isUse) {
		this.isUse = isUse;
	}

	public String getBody() {
		return body;
	}

	public void setBody(String body) {
		this.body = body;
	}

	public String getAnswer() {
		return answer;
	}

	public void setAnswer(String answer) {
		this.answer = answer;
	}

	public String getAnswerConfig() {
		return answerConfig;
	}

	public void setAnswerConfig(String answerConfig) {
		this.answerConfig = answerConfig;
	}
}